package cn.wk.user.mapper;

import cn.wk.basic.mapper.BaseMapper;
import cn.wk.user.domain.LoginInfo;
import cn.wk.user.domain.dto.LoginInfoDto;
import org.apache.ibatis.annotations.Param;

public interface LoginInfoMapper extends BaseMapper<LoginInfo> {


    /**
     * 根据用户名和type查询数据
     * @param
     * @return
     */
    LoginInfo findByNameAndType(@Param("username") String username, @Param("type") Integer type);
}
